package com.rc.common.model;

import lombok.Data;

import java.time.LocalDateTime;

/**
 * socket消息
 */
@Data
public class MessageModel {
    //消息类型
    private Integer type;

    //发给谁
    private Long to;

    private Long from;

    //消息内容
    private String content;

    private String avatar;

    private String nickname;

    //创建时间
    private LocalDateTime createTime = LocalDateTime.now();

}
